package com.cgbl.cg.vm.mine

import android.app.Application
import androidx.databinding.ObservableInt
import com.robot.base.base.vm.GLBaseViewModel
import com.robot.base.configs.AppConstants
import com.robot.base.util.arouter.ARouterUtil
import me.goldze.mvvmhabit.binding.command.BindingAction
import me.goldze.mvvmhabit.binding.command.BindingCommand

class FollowFansViewModel(application: Application) : GLBaseViewModel(application) {

    val tabType = ObservableInt(TAB_FOLLOW)

    val clickSelectFollow = BindingCommand<Any>(BindingAction {
        tabType.set(TAB_FOLLOW)
    })

    val clickSelectFans = BindingCommand<Any>(BindingAction {
        tabType.set(TAB_FANS)
    })

    companion object{

        const val TAB_FOLLOW = 1

        const val TAB_FANS = 2
    }
}